package com.liang.hellocompose.net

import com.liang.hellocompose.data.BaseResult
import com.liang.hellocompose.data.HomeListEntity
import retrofit2.http.GET
import retrofit2.http.Path


/**
 * @author suzl
 * @createTime 2021/8/3
 * @Description
 */
interface WanAndroidApi {

    @GET("article/list/{page}/json")
    suspend fun getHomeData(@Path("page") page: Int): BaseResult<HomeListEntity>

}